package com.sscl.blesample.adapter.entity.services_characteristics_list_entity;

import com.chad.library.adapter.base.entity.node.BaseExpandNode;
import com.chad.library.adapter.base.entity.node.BaseNode;
import com.sscl.blesample.R;
import com.sscl.blesample.adapter.ServicesCharacteristicsListAdapter;

import java.util.List;


/**
 * @author jacke
 * @date 2018/1/22 0022
 */

public class ServiceUuidItem extends BaseExpandNode {

    private String name;
    private String uuid;
    private List<BaseNode> characteristicUuidItems;

    public ServiceUuidItem(String name, String uuid, List<BaseNode> characteristicUuidItems) {
        this.name = name;
        this.uuid = uuid;
        this.characteristicUuidItems = characteristicUuidItems;
        setExpanded(false);
    }

    @Override
    public List<BaseNode> getChildNode() {
        return characteristicUuidItems;
    }

    public String getName() {
        return name;
    }

    public String getUuid() {
        return uuid;
    }

}
